﻿{% extends "base.html" %}

{% block content %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>

<h1>Login</h1>

{% if user.is_authenticated %}
My name is, ({{ user.username }}). My city is ({{user.get_profile.city}}) . My email is {{user.get_profile.email}}.My access level is {{user.get_profile.access_level}}

<br>

<a href="{% url auth_logout %}">Logout</a>

{% endif %}

{% endblock %}